<%@ taglib prefix="s" uri="/struts-tags"%>
<body>
	<strong style="color: red; font-weight: bold"><s:property value="errorMessage"/></strong>
	<form action="addCustomer" id="frmAddCustomer" method="post">	
		<fieldset>
			<legend>Register</legend>
		
			<table>
				<tr>
					<td><label for="frmAddCustomer_email">Email&nbsp;&nbsp;</label></td> 
					<td><input name="customerInfo.emailAddress" id="frmAddCustomer_email" value="${customerInfo.emailAddress}" tabindex="1"/></td>
				</tr>
				<tr>
					<td><label for="frmAddCustomer_password">Password</label></td>
					<td><input type="password" name="customerInfo.password" id="frmAddCustomer_password" value="${customerInfo.password}" tabindex="2"></td>
				</tr>
				<tr>
					<td><label for="frmAddCustomer_rePassword">Re-Password</label></td> 
					<td><input type="password" name="customerInfo.rePassword" id="frmAddCustomer_rePassword" value="${customerInfo.rePassword}" tabindex="3"></td>
				</tr>
				<tr>
					<td><label for="frmAddCustomer_dob">Date of Birth</label></td>
					<td><input type="text" name="customerInfo.dob" id="frmAddCustomer_dob" value="<s:date name="customerInfo.dob" format="dd/MM/yyyy"/>" tabindex="4"/></td>
				</tr>
				<tr><td colspan="2"></td></tr>
				<tr>
					<td colspan="2"><input type="submit" value="Register" class="submit" tabindex="5"></td>
				</tr>
			</table>
		</fieldset>
		
	</form>

</body>